home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / APAN.DIR / 00742_Script_startmovie < prev    next >
Text File  |  1995-09-06  |  1KB  |  41 lines

  1. Global gBtn16, gBtn18, gWhatMovie,gSlider,gOpenHouse1,gInitGlobals,┬
  2.       gBeginYourLifeStatus, gHotSpotStatus,gTheHelpIsOn,gReInitGlobals
  3.  
  4. on StartMovie
  5.   set gBtn16 = birth(script "a3StateButton", 46, 1931, "SA141819.AIF", "CrossEPan", "HandCursor")
  6.   set gBtn18 = birth(script "a3StateButton", 48, 1928, "SA141819.AIF", "CrossVPan", "HandCursor")
  7.   set gBeginYourLifeStatus = 1
  8.   set gHotSpotStatus = 0
  9.   set gWhatMovie = "AztecW"
  10.   set the visible of sprite 2 to true
  11.   set gOpenHouse1 = 0
  12.   if gInitGlobals = 1 then
  13.     AInitGlobals
  14.     set gInitGlobals = 0
  15.   else
  16.     if gReInitGlobals = 1 then
  17.       AGlobalsSetUpFromTheatre
  18.       set gReInitGlobals = 0
  19.     end if
  20.   end if
  21.   AGlobalsSetUpPan
  22.   set gTheHelpIsOn = 0
  23. end
  24.  
  25.  
  26. on StopMovie
  27.   hidecontrol (gBtn16)
  28.   hidecontrol (gBtn18)
  29.   set gBtn16 = 0  
  30.   set gBtn18 = 0
  31.   KillSlider(gSlider)
  32.   set the visible of sprite 2 to true
  33.   puppetsprite 25, false
  34.   puppetsprite 26, false
  35.   set gBeginYourLifeStatus = 0
  36.   set gHotSpotStatus = 0
  37.   unload 1, 140
  38. end
  39.  
  40.  
  41.